package bean;

import java.sql.Timestamp;
import java.util.Set;

public class Album {
	private int id;
	private User user;
	private String title;
	private String description;
	private Timestamp time;
	private int photonum;
	private Set<Photo> photos;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	


	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Timestamp getTime() {
		return time;
	}
	public void setTime(Timestamp time) {
		this.time = time;
	}
	public int getPhotonum() {
		return photonum;
	}
	public void setPhotonum(int photonum) {
		this.photonum = photonum;
	}
	public void setPhotos(Set<Photo> photos) {
		this.photos = photos;
	}
	public Set<Photo> getPhotos() {
		return photos;
	}
	
	
}
